From: Sachin Kamat Date: Fri, 18 Oct 2013 12:04:00 +0000 (+0100) Subject: iio: light: gp2ap020a00f: Include linux/of.h header X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~7760^2~196^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=43e01beda4b578e947aafb5b5ee19e5bb598e8ca;p=linux-4.9.git iio: light: gp2ap020a00f: Include linux/of.h header 'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c index a530e7712a8e..dc79835be308 100644 --- a/drivers/iio/light/gp2ap020a00f.c +++ b/drivers/iio/light/gp2ap020a00f.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include